<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%
	String message = (String) request.getAttribute("message");
	if (message == null)
		message = "";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="Bookmark" href="/favicon.ico" />
		<title>51Dinner regist</title>
		<link href="../css/all.css" rel="stylesheet" type="text/css" />
		<link href="../css/regesiter.css" rel="stylesheet" type="text/css" />
		<script src="../js/main.js" type="text/javascript"></script>
		<script src="../js/net.js" type="text/javascript"></script>
		<script src="../js/common.js" type="text/javascript"></script>
		<script src="../js/reg_validator.js" type="text/javascript"></script>
		<script type="text/javascript">
var validatedInfo		= "填写正确。";
var requireErrorInfo	= "此项为必填项。<br>";
var msgInfo	= new Array();

msgInfo[0]	= new Array( '',
						 '您填写的用户名有误。5-20个字符(以字母开头，包括小写字母、数字、下划线)',
						 '此用户名已经被其他用户注册，请重新输入。');

msgInfo[1]= new Array(	'',
						'您设置的密码有误，密码应该由6-16个英文字母、数字或符号组成。',
						'请不要设置与用户名相同的密码，为了您的帐户安全，建议使用大小写字母与数字混合设置密码。');

msgInfo[2]= new Array(	'',
						'您设置的密码有误，密码应该由6-16个英文字母、数字或符号组成。',
						'两次输入的密码不一致，请重新输入。');

msgInfo[3]= new Array(	'',
						'电子邮件格式不正确,请输入正确的电子邮件地址。如：myname@sina.com。',
						'此邮箱已经被其他用户注册，请重新输入。');

msgInfo[4]= new Array(	'',
						'验证码错误',
						'验证码错误');
msgInfo[5]= new Array(	'',
						'时间格式错误',
						'关门时间错误');


function submitForm(obj) {
	var ret = true;
	ret = validateAll(obj);
	return ret;
}

</script>
		<style type="text/css">
<!--
#toubiao {
	BORDER-BOTTOM: #ddd 1px solid;
	BORDER-top: #F0F0F0 1px solid;
	margin-bottom: 5px;
}

.STYLE1 {
	color: #666666
}

.STYLE2 {
	font-size: 12px
}
-->
</style>
	</head>
	<body>
		<center>
			<div id="regpage">
				<table width="766" border="0" align="center" cellpadding="0"
					cellspacing="0" bordercolor="#990033">
					<tr>
						<td>
							<img name="TOP_r5_c1" src="../images/TOP_r5_c1.jpg" width="25"
								height="58" border="0" id="TOP_r5_c1" alt="" />
						</td>
						<td background="../images/menu_xia_bg.jpg">
							<table width="100%" height="58" border="0" cellspacing="0"
								cellpadding="0">
								<tr>
									<td width="691">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td colspan="2" height="3"></td>
											</tr>
											<tr>
												<td width="90%">
													<div align="center">
														<a class="MenuXia" href="../index.jsp">&nbsp;首页&nbsp;</a>|
														<a class="MenuXia" href="/help/help.jsp?sn=help_02"
															target="_blank">我的页面</a> |
														<a class="MenuXia" href="/help/help.jsp?sn=help_03"
															target="_blank">订餐搜索</a> |
														<a class="MenuXia"
															href="javascript:window.external.AddFavorite('http://www.51dinner.com','51Dinner网'); ">收藏本站</a>
													</div>
												</td>
												<td width="10%">
													&nbsp;
												</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<script language=JavaScript>
	 function search(){
		location.assign("product/Prolist.jsp?key=----"+document.getElementById("searchtext").value+"-"
		                 +(document.getElementById ("searchsel").selectedIndex==0?"0-":"-0")+"----");
	 }
	</script>
										<form name="top001"
											onsubmit="javascript:search();return false;">
											<table class="shousuo" width="100%" border="0"
												cellspacing="0" cellpadding="0">
												<tr>
													<td width="5%"></td>
													<td width="15%">
														<div align="left">
															搜索类型：
														</div>
													</td>
													<td width="30%">
														<select name="searchsel" id="searchsel">
															<option value="0">
																搜索所有商品
															</option>
															<option value="1">
																搜索所有卖家
															</option>
														</select>
													</td>
													<td width="25%">
														<input name="searchtext" id="searchtext" type="text"
															size="15" />
													</td>
													<td width="1%">
														&nbsp;
													</td>
													<td width="7%">
														<input class="SousAn" type="button" onclick="search();"
															value="搜 索" height="150" />
													</td>
													<td>
														&nbsp;
													</td>
												</tr>
											</table>
										</form>
									</td>
								</tr>
							</table>
						</td>
						<td align="right">
							<img src="../images/TOP_r5_c5.jpg" width="267" height="58" />
						</td>
					</tr>
				</table>
				<table width="600" align="center" border="0" cellspacing="4"
					cellpadding="0">
					<tr>
						<td align="left">
							你的位置：
							<a href="../index.jsp" class="MenuT">首页</a> >>
							<a href="regist.jsp" class="MenuT">注册</a> >> 注册结果
						</td>
					</tr>
				</table>
				<table width="700" align="center" border="0" cellspacing="0"
					cellpadding="0">
					<tr>
						<td>
							<hr style="color: #EEEEEE" size="1" width="99%" />
						</td>
					</tr>
					<tr>
						<td>
							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td width="13%">
										&nbsp;
									</td>
									<td align="left" width="87%" valign="middle">
										<img src="../images/register.gif" />
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							<hr />
						</td>
					</tr>
					<tr>
						<td align="center">
							<%=message%>
						</td>
					</tr>
					<tr>
						<td>

						</td>
					</tr>
					<tr>
						<td>
							<hr />
						</td>
					</tr>
					<tr>
						<td align="center">
							Copyright (C) 2007-2008 51Dinner
						</td>
					</tr>
				</table>
			</div>
		</center>
		<style>
#gNav {
	height: 45px;
	position: fixed !important;
	position: absolute;
	top: 50%;
	right: 3px;
	z-index: 9999;
	width: 110px;
	background-color: #ffffff
}

.gNav {
	width: 110px;
	height: 45px;
	overflow: hidden;
	position: relative;
	margin-left: 0;
}

.tbstyle {
	border-color: #ddd;
	border: 1px solid
}
</style>
		<map name="Map" id="Map">
			<area shape="rect" coords="166,4,221,22"
				href="product/Prolist.jsp?key=----------0" />
		</map>
		<map name="Map2" id="Map2">
			<area shape="rect" coords="169,3,220,22"
				href="product/Prolist.jsp?key=------0----" />
		</map>
		<map name="Map3" id="Map3">
			<area shape="rect" coords="131,3,185,23" href="emag/emag.jsp" />
		</map>
		<map name="Map4" id="Map4">
			<area shape="rect" coords="131,3,184,23" href="#" />
		</map>
	</body>
</html>
